<h1>Listing users</h1>

<table>
  <tr>
    <td><%= @user.nick_name %></td>
    <td><%= link_to 'Show', @user %></td>
    <td><%= link_to 'Edit', edit_user_path(@user) %></td>
    <td><%= link_to 'Destroy', @user, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
</table>

<br />

<%= link_to 'New user', new_user_path %>